package com.dynabook.ems.model.vo;

import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import cn.idev.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;

/**
 * 盘点数据导出VO
 */
@Data
@HeadRowHeight(18) // 设置表头行高为10
@ColumnWidth(20)   // 设置默认列宽为20
public class InventoryExportVO implements Serializable {
    
    private static final long serialVersionUID = 1L;

    /**
     * 料号
     */
    @ExcelProperty(value = {"pn", "料号"}, index = 0)
    @ColumnWidth(30)
    private String pn;

    /**
     * 采购单位
     */
    @ExcelProperty(value = {"purchaseunit", "采购单位"}, index = 1)
    @ColumnWidth(25)
    private String purchaseunit;


    /**
     * 库存单位
     */

    @ExcelProperty(value = {"unit", "库存单位"}, index = 2)
    @ColumnWidth(25)
    private String unit;

    @ExcelProperty(value = {"unitDesc", "企业采购单位名称"}, index = 3)
    @ColumnWidth(30)
    private String unitDesc;

    /**
     * 所属类别
     */
    @ExcelProperty(value = {"所属类别", "所属类别"}, index = 4)
    @ColumnWidth(20)
    private String bigCategory;

    /**
     * 所属细分
     */
    @ExcelProperty(value = {"所属细分", "所属细分"}, index = 5)
    @ColumnWidth(20)
    private String category;

    @ExcelProperty(value = {"spec", "企业产品规格"}, index = 6)
    @ColumnWidth(30)
    private String spec;

    /**
     * 关务品名
     */
    @ExcelProperty(value = {"description", "企业产品名称"}, index = 7)
    @ColumnWidth(30)
    private String customsName;

    /**
     * 物料属性
     */
    @ExcelProperty(value = {"goodsType", "货物性质"}, index = 8)
    @ColumnWidth(25)
    private String materialProperty;

    /**
     * 单价
     */
    @ExcelProperty(value = {"单价", "单价"}, index = 9)
    @ColumnWidth(12)
    private String unitprice;

    /**
     * 币种
     */
    @ExcelProperty(value = {"币种", "币种"}, index = 10)
    @ColumnWidth(10)
    private String currency;
}

